/**
 * 
 */
package com.feib.stms.service;

import java.util.Date;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.feib.stms.dao.DeliveryPaymentChkDao;
import com.feib.stms.model.DeliveryPaymentChk;
import com.feib.stms.pagination.PaginatedList;

/**
 * @author Jimmy Liu
 *
 */
@Transactional(readOnly = true)
public interface DeliveryPaymentChkService extends BasePaymentFileContentService<DeliveryPaymentChkDao, DeliveryPaymentChk> {

	/**
	 * 
	 * @param entity 查詢條件
	 * @param deliveryDateFrom 交割日期起
	 * @param deliveryDateTo 交割日期迄
	 * @param amountStatus 狀態 , 1:不足款 else 全部
	 * @param fileFormats
	 * @param constrainSecuritiesNos
	 * @param paginatedList
	 * @return
	 */
	public PaginatedList<DeliveryPaymentChk> findPaginatedListByPaymentFileContent(DeliveryPaymentChk entity, Date deliveryDateFrom, Date deliveryDateTo, String amountStatus, List<String> constrainSecuritiesNos, PaginatedList<DeliveryPaymentChk> paginatedList);

	public String exportExcelByPaymentFileContent(
			DeliveryPaymentChk entity, Date deliveryDateFrom,
			Date deliveryDateTo, String amountStatus, 
			List<String> constrainSecuritiesNos,
			PaginatedList<DeliveryPaymentChk> paginatedList);
	
}
